.class Les/l30$e;
.super Ljava/lang/Object;
.source "AutoBackUpCache.java"

# interfaces
.implements Les/l30$f;


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Les/l30;->a(Les/p30;)Z
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x0
    name = null
.end annotation


# instance fields
.field final synthetic a:Les/p30;

.field final synthetic b:Les/l30;


# direct methods
.method constructor <init>(Les/l30;Les/p30;)V
    .locals 0

    .line 1
    iput-object p1, p0, Les/l30$e;->b:Les/l30;

    iput-object p2, p0, Les/l30$e;->a:Les/p30;

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public a()Z
    .locals 7

    .line 1
    new-instance v0, Landroid/content/ContentValues;

    invoke-direct {v0}, Landroid/content/ContentValues;-><init>()V

    .line 2
    iget-object v1, p0, Les/l30$e;->a:Les/p30;

    iget-wide v1, v1, Les/p30;->b:J

    invoke-static {v1, v2}, Ljava/lang/Long;->valueOf(J)Ljava/lang/Long;

    move-result-object v1

    const-string v2, "up_time"

    invoke-virtual {v0, v2, v1}, Landroid/content/ContentValues;->put(Ljava/lang/String;Ljava/lang/Long;)V

    .line 3
    iget-object v1, p0, Les/l30$e;->a:Les/p30;

    iget-object v1, v1, Les/p30;->c:Ljava/lang/String;

    const-string v2, "hash"

    invoke-virtual {v0, v2, v1}, Landroid/content/ContentValues;->put(Ljava/lang/String;Ljava/lang/String;)V

    .line 4
    iget-object v1, p0, Les/l30$e;->a:Les/p30;

    iget-object v1, v1, Les/p30;->d:Ljava/lang/String;

    const-string v2, "dest"

    invoke-virtual {v0, v2, v1}, Landroid/content/ContentValues;->put(Ljava/lang/String;Ljava/lang/String;)V

    .line 5
    iget-object v1, p0, Les/l30$e;->a:Les/p30;

    iget-object v1, v1, Les/p30;->e:Ljava/lang/String;

    const-string v2, "full_path"

    invoke-virtual {v0, v2, v1}, Landroid/content/ContentValues;->put(Ljava/lang/String;Ljava/lang/String;)V

    .line 6
    iget-object v1, p0, Les/l30$e;->b:Les/l30;

    invoke-static {v1}, Les/l30;->a(Les/l30;)Landroid/database/sqlite/SQLiteDatabase;

    move-result-object v1

    const/4 v2, 0x1

    new-array v3, v2, [Ljava/lang/String;

    iget-object v4, p0, Les/l30$e;->a:Les/p30;

    iget-object v4, v4, Les/p30;->e:Ljava/lang/String;

    const/4 v5, 0x0

    aput-object v4, v3, v5

    const-string v4, "file_backup_table"

    const-string v6, "full_path= ?"

    invoke-virtual {v1, v4, v0, v6, v3}, Landroid/database/sqlite/SQLiteDatabase;->update(Ljava/lang/String;Landroid/content/ContentValues;Ljava/lang/String;[Ljava/lang/String;)I

    move-result v1

    if-ne v1, v2, :cond_0

    goto :goto_0

    .line 7
    :cond_0
    iget-object v1, p0, Les/l30$e;->b:Les/l30;

    invoke-static {v1}, Les/l30;->a(Les/l30;)Landroid/database/sqlite/SQLiteDatabase;

    move-result-object v1

    const/4 v3, 0x0

    invoke-virtual {v1, v4, v3, v0}, Landroid/database/sqlite/SQLiteDatabase;->insertOrThrow(Ljava/lang/String;Ljava/lang/String;Landroid/content/ContentValues;)J

    move-result-wide v0

    const-wide/16 v3, 0x0

    cmp-long v6, v0, v3

    if-lez v6, :cond_1

    goto :goto_0

    :cond_1
    const/4 v2, 0x0

    :goto_0
    return v2
.end method
